import request from "@/utils/request";

export async function likeQuery(data) {
    return await new request({
        url: '/api/user/career/list',
        method: 'POST',
        data
    })
}

export async function likeQueryByName(data) {
    return await new request({
        url: '/api/user/career/list/name',
        method: 'POST',
        data
    })
}

export async function getFrontendCareerInfoById(id) {
    return await new request({
        url: `/api/user/career/get/${id}`,
        method: 'GET',
    })
}

